package day06;

public class MethodDemo {
    public static void main(String[] args) {
        sayHello("蔡徐坤",2);
        sayHello("鸡哥",66);
        }

    public static void sayHello(String name,int age){
        if (age>60){
            return;
        }
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了！");
    }

    public static void aMethod(){
        System.out.println(111);
        bMethod();
        System.out.println(333);
    }

    public static void bMethod(){
        System.out.println(222);
    }

}